package ch.zhaw.cctd.domain.tower;

import java.awt.Point;

import ch.zhaw.cctd.domain.Shootable;
import ch.zhaw.cctd.domain.Shooter;
import ch.zhaw.cctd.domain.map.Map;

/**
 * Zuständig die Art des Treffers zu errechen, wenn der Schuss einschlägt. Trifft mehrere Creeps in einer Kette(Chain)
 * @author Rolf
 *
 */
public class ChainTowerEffect extends TowerEffect {
	
	private static final long serialVersionUID = -9153975795416977971L;

	public ChainTowerEffect(Integer jumps) {
		super(TowerEffectType.CHAIN, jumps);
	}

	@Override
	public void hitEffect(Point hitpoint, Shooter t, Shootable c, Map map) {
		// TODO search for nearest shootable on map and repeat from next shootable
	}
	
}